
package com.erp.app.catalog.category.vo;


import com.erp.framework.util.CommonUtil;
import com.erp.framework.model.pk.SimpleSearchMaintStylePk;
import com.erp.framework.model.vo.SimpleSearchMaintStyleVo;
import com.erp.framework.types.*;
import com.erp.app.catalogLogin.pk.*;

public class CategoryItemClassVO extends SimpleSearchMaintStyleVo {

	//DB Table Name: V_CATEGORY_ITEM_CLASS

	//PK Attributes
	private String companyCode = "";                                                                   //DB Column Name: COMPANY_CODE
	private String itemLine = "";                                                                      //DB Column Name: ITEM_LINE
	private String itemCategory = "";                                                                  //DB Column Name: ITEM_CATEGORY
	private String itemClass = "";                                                                     //DB Column Name: ITEM_CLASS

	//Other Attributes
	private String classItemClassDesc = "";                                                            //DB Column Name: ITEM_CLASS_DESC
	private String classStatus = "";                                                                   //DB Column Name: STATUS
	private String classDcInd = "";                                                                    //DB Column Name: DC_IND
	private String classDcDate = "";                                                                   //DB Column Name: DC_DATE
	private String createUser = "";                                                                    //DB Column Name: CREATE_USER
	private String createDate = "";                                                                    //DB Column Name: CREATE_DATE
	private String updateUser = "";                                                                    //DB Column Name: UPDATE_USER
	private String updateDate = "";                                                                    //DB Column Name: UPDATE_DATE
	private String classShowInCatalog = "";                                                            //DB Column Name: SHOW_IN_CATALOG

	private String expandStatus = "";


	public String toString() {
		String pkStr = "PK: {companyCode = " + this.companyCode
			+ "\n, itemLine = " + this.itemLine
			+ "\n, itemCategory = " + this.itemCategory
			+ "\n, itemClass = " + this.itemClass + "}\n";
		String colStr = "COL: {classItemClassDesc = " + this.classItemClassDesc
			+ "\n, classStatus = " + this.classStatus
			+ "\n, classDcInd = " + this.classDcInd
			+ "\n, classDcDate = " + this.classDcDate
			+ "\n, createUser = " + this.createUser
			+ "\n, createDate = " + this.createDate
			+ "\n, updateUser = " + this.updateUser
			+ "\n, updateDate = " + this.updateDate
			+ "\n, classShowInCatalog = " + this.classShowInCatalog + "}\n";
		return "CategoryItemClassVO.toString() is:\n" + pkStr + colStr;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Generated Accessors (get/set methods)
	////////////////////////////////////////////////////////////////////////////////

	public String getCompanyCode() {
		return this.companyCode;
	}

	public String getItemLine() {
		return this.itemLine;
	}

	public String getItemCategory() {
		return this.itemCategory;
	}

	public String getItemClass() {
		return this.itemClass;
	}

	public String getClassItemClassDesc() {
		return this.classItemClassDesc;
	}

	public String getClassStatus() {
		return this.classStatus;
	}

	public String getClassDcInd() {
		return this.classDcInd;
	}

	public String getClassDcDate() {
		return this.classDcDate;
	}

	public String getCreateUser() {
		return this.createUser;
	}

	

	public String getUpdateUser() {
		return this.updateUser;
	}

	

	public String getClassShowInCatalog() {
		return this.classShowInCatalog;
	}
	public String getExpandStatus(){
		return this.expandStatus;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = CommonUtil.toCode(companyCode);
	}

	public void setItemLine(String itemLine) {
		this.itemLine = CommonUtil.toCode(itemLine);
	}

	public void setItemCategory(String itemCategory) {
		this.itemCategory = CommonUtil.toCode(itemCategory);
	}

	public void setItemClass(String itemClass) {
		this.itemClass = CommonUtil.toCode(itemClass);
	}

	public void setClassItemClassDesc(String classItemClassDesc) {
		this.classItemClassDesc = CommonUtil.trim(classItemClassDesc);
	}

	public void setClassStatus(String classStatus) {
		this.classStatus = CommonUtil.trim(classStatus);
	}

	public void setClassDcInd(String classDcInd) {
		this.classDcInd = CommonUtil.trim(classDcInd);
	}

	public void setClassDcDate(String classDcDate) {
		this.classDcDate = CommonUtil.trim(classDcDate);
	}

	public void setCreateUser(String createUser) {
		this.createUser = CommonUtil.trim(createUser);
	}

	public void setCreateDate(String createDate) {
		this.createDate = CommonUtil.trim(createDate);
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = CommonUtil.trim(updateUser);
	}

	public void setUpdateDate(String updateDate) {
		this.updateDate = CommonUtil.trim(updateDate);
	}

	public void setClassShowInCatalog(String classShowInCatalog) {
		this.classShowInCatalog = CommonUtil.trim(classShowInCatalog);
	}
	public void setExpandStatus(String expandStatus){
		this.expandStatus = expandStatus;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Other Accessors (get/set methods)
	////////////////////////////////////////////////////////////////////////////////


	public CategoryItemClassPk getPk() {
		return new CategoryItemClassPk(String.valueOf(this.getCompanyCode()), String.valueOf(this.getItemLine()), String.valueOf(this.getItemCategory()), String.valueOf(this.getItemClass()));
	}

	public SimpleSearchMaintStylePk getSearchMaintStylePk() {
		// TODO Auto-generated method stub
		return null;
	}

	protected void setDaoName() {
		// TODO Auto-generated method stub
		
	}

	protected void setChildTypesName() {
		// TODO Auto-generated method stub
		
	}
}
